<script src="<?= base_url(); ?>third_party/ckeditor/ckeditor.js"></script>

<div class="clear"> </div>
<div class="box_2">
    <div class="title reg bold"> 
        <span class="inline-block align_left fleft" style="width: 590px"><h3 class="color_2"> 
                Full Detail of <?= $version['info']->version; ?> </h3>
        </span> 
        <span class="color_3"><a href="javascript:history.back()">Go Back</a></span>
        <div class="clear"></div>
    </div>

    <div class="clear"> </div>
    <div id="inner">
        <div class="listing">
            <img src="<?= base_url(); ?>assets/images/data/car/version/<?= $version['info']->image; ?>" width="100" height="75" alt="">
            <div id="block" style="float:left; width:380px" >
                <h3> <?= $version['info']->version; ?>  </h3>
                <p> 
                    Fuel Type : <?= $this->pickup_model->get_pickup_info(1, $version['info']->fuel)->description; ?> </br>
                    Transmission : <?= $this->pickup_model->get_pickup_info(2, $version['info']->transmission)->description; ?> </br>
                    Body Type : <?= $this->pickup_model->get_pickup_info(3, $version['info']->body)->description; ?>   
                </p>
            </div>
            <div id="price"> Rs. <?= moneyFormat($version['info']->price); ?></div>  <span class="fright">Ex-Showroom </span>
        </div>
        <div class="clear"> </div>
        <p><?= $version['info']->detail; ?></p>
    </div>


    <div class="clear"> </div>

    <!-- -- Features and Facilities ------- -->  
    <div id="inner" style="padding: 0px 25px 0px 25px">
        <h3 class="marg_bottom_3">Features and Facilities :</h3>
        <?php if ($version['features']) { ?>
            <?php foreach ($version['features'] as $features): ?>
                <ul style="padding: 0px 25px 0px 25px">
                    <li class="li-bullet">
                        <div class="works-list" style="margin-bottom: 2px" >
                            <span class="color_2" style="width: 250px;display: inline-block;"> 
                                <?= $this->pickup_model->get_feature_pickup('CAR', $features->slno)->feature; ?>
                            </span>

                            <span class="color_3" style="width: 150px;display: inline-block;"> 
                                Yes
                            </span>

                        </div>  
                    </li>
                </ul>
            <?php endforeach; ?>
        <?php }else { ?>
            No Features and Facility available for this Vehicle..
        <?php } ?>
    </div>

    <div class="marg_bottom_1"> </div>
    <!-- -- Specifications ------- --> 
    <div class="clear"></div>
    <div id="inner" style="padding: 0px 25px 0px 25px">
        <h3 class="marg_bottom_3">Specifications :</h3>
        <?php if ($version['specifications']) { ?>
            
            <?php foreach ($version['specifications'] as $specification): ?>
                <ul style="padding: 0px 25px 0px 25px">
                    <li class="li-bullet">
                        <div class="works-list" style="margin-bottom: 2px" >
                            <span class="color_2" style="width: 250px;display: inline-block;"> 
                               <?= $this->pickup_model->get_specification_pickup('CAR', $specification->code,$specification->slno)->specification; ?>
                               
                            </span>

                            <span class="color_3" style="width: 250px;display: inline-block;"> 
                                <?= $specification->specification_value;?>
                            </span>

                        </div>  
                    </li>
                </ul>
            <?php endforeach; ?>
        <?php }else { ?>
            No Specifications available for this Vehicle..
        <?php } ?>
    </div>
    <div class="clear"></div>

</div> <!-- End of Box_2 -->




